<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/index.js"></script>
</head>
<body>

<button id="download_to_path">保存到某路径下</button>
<button id="download_by_browser">通过浏览器下载</button>

</body>
</html>